public class Dog extends Animal{
    String bread;
    String size;

    public Dog() {
    }

    public Dog(String name, int age, double weight, String bread, String size) {
        super(name, age, weight);
        this.bread = bread;
        this.size = size;
    }

    public void bark(){

    }

    @Override
    public void eat() {
        super.eat();
    }

    @Override
    public void makeSound() {
        super.makeSound();
    }


    @Override
    public void getInfo() {
        System.out.println( "Dog{" +
                "bread='" + bread + '\'' +
                ", size='" + size + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", weight=" + weight +
                '}');
    }

    public String getBread() {
        return bread;
    }

    public void setBread(String bread) {
        this.bread = bread;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }
}
